/**
 * Author:yuiop
 * Date:2022/3/17 16:59
 */
package com.devops.admin.model;

import com.baomidou.mybatisplus.annotation.*;
import com.devops.constant.DevOpsConstant;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@SuperBuilder(toBuilder = true)
public class DOSModel implements Serializable {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    @TableLogic(value = DevOpsConstant.DeleteFlag.NOT_DELETE,delval = DevOpsConstant.DeleteFlag.IS_DELETE)
    @TableField(fill = FieldFill.INSERT)
    private Integer isDel;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
}
